package com.bifrost.repository;

import com.bifrost.entity.ProductService;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author rangf
 * @date 2017/11/10
 */
public interface ProductServiceRepository extends JpaRepository<ProductService, Long> {

    /**
     * @param type
     * @return
     */
    List<ProductService> findAllByServiceTypeOrderBySortOrder(String type);
}
